class Person:
    city = '成都'
zs = Person()
zs.name = '张三'
print(zs.name, zs.city)
ls = Person()
ls.name = '李四'
print(ls.name, ls.city)

Person.city = '长沙'
print(zs.name, zs.city)
print(ls.name, ls.city)

zs.city = '武汉'
print(zs.name, zs.city)
print(ls.name, ls.city)

